package com.bitcola.security;

import com.bitcola.security.auth.client.EnableAceAuthClient;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication
@MapperScan("com.bitcola.security.otc.mapper")
@EnableEurekaClient
@EnableCircuitBreaker
@EnableFeignClients({"com.bitcola.security.auth.client.feign"})
@EnableAceAuthClient
@EnableTransactionManagement
public class OtcServiceApplication {

	public static void main(String[] args) {
		SpringApplication.run(OtcServiceApplication.class, args);



	}
}
